package com.ciaojian.client.util;

/**
 * 常用常量
 *
 * @author
 */
public final class Consts {

    /**
     * 空字符串
     */
    public static final String EMPTY = "";

    /**
     * 空格字符串
     */
    public static final String SPACE = " ";

    /**
     * 空格字符
     */
    public static final char EMPTY_CHAR = ' ';

    /**
     * null字符串
     */
    public static final String NULL = "null";

    /**
     * 空json字符串
     */
    public static final String EMPTY_JSON = "{}";

    /**
     * 逗号
     */
    public static final String COMMA = ",";

    /**
     * 逗号字符
     */
    public static final char COMMA_CHAR = ',';

    /**
     * 分号
     */
    public static final String SEMICOLON = ";";

    /**
     * 斜杠
     */
    public static final char BACK_SLASH = '\\';

    /**
     * 换行符
     */
    public static final char NEWLINE = '\n';

    /**
     * tab符
     */
    public static final char TAB = '\t';

    /**
     * 十六进制字符串
     */
    public static final String HEX = "0123456789ABCDEF";

    /**
     * 数字字母组合，36进制字符串
     */
    public static final String DECIMAL_AND_UPPERCASE = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

    /**
     * 成功
     */
    public static final int SUCCESS = 1;

    /**
     * 警告
     */
    public static final int WARN = -1;

    /**
     * 失败
     */
    public static final int FAILED = 0;

    /**
     * 正常状态定义
     */
    public static final int NORMAL = 1;

    /**
     * 删除定义
     */
    public static final int DELETE = 2;

    /**
     * 成功
     */
    public static final String MSG_SUCCESS = "ok";

    /**
     * 当前记录起始索引
     */
    public static final int START_INDEX = 0;

    /**
     * 数量（如每页显示数量）
     */
    public static final int NUM = 20;

    /**
     * 最大数量（如每次最多取多少条数据）
     */
    public static final int MAX_NUM = 1000;

    /**
     * 默认查询全部常量int
     */
    public static final int DEFAULT_INT_VAL = -99;

    /**
     * 默认查询全部常量string
     */
    public static final String DEFAULT_STR_VAL = "-99";



}
